package com.angel.dao.health;

import com.angel.core.base.BaseMapper;
import com.angel.health.SysOffice;
import com.angel.health.SysOfficeExample;
import com.angel.health.SysOfficeExt;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface SysOfficeMapper extends BaseMapper<SysOffice>{
    int countByExample(SysOfficeExample example);

    int deleteByExample(SysOfficeExample example);

    int deleteByPrimaryKey(Integer id);

//    int insert(SysOffice record);

    int insertSelective(SysOffice record);

    List<SysOffice> selectByExample(SysOfficeExample example);

    SysOffice selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SysOffice record, @Param("example") SysOfficeExample example);

    int updateByExample(@Param("record") SysOffice record, @Param("example") SysOfficeExample example);

//    int updateByPrimaryKeySelective(SysOffice record);

    int updateByPrimaryKey(SysOffice record);

	List<SysOffice> findAllDepart(SysOffice record);

	List<SysOfficeExt> findUserById(SysOffice record);
}